﻿@model TYAJZWeb.Models.EquipmentDetailExternalModel
@{
    ViewBag.Title = "设备详细信息";
}
@section BodyNav
{
    > @Html.ActionLink("备案设备列表", "List", "Equipment") > 设备详细信息
}
<h1>
    起重设备自然情况表</h1>
<table class="detail">
    <tr>
        <th rowspan="2" width="120">
            @Html.LabelFor(m => m.Eq_Owner)
        </th>
        <td rowspan="2">
            @Html.DisplayFor(m => m.Eq_Owner)
        </td>
        <th>
            @Html.LabelFor(m => m.Eq_OwnerInCharge)
        </th>
        <td>
            @Html.DisplayFor(m => m.Eq_OwnerInCharge)
        </td>
    </tr>
    <tr>
        <th>
            @Html.LabelFor(m => m.Eq_OwnerPhone)
        </th>
        <td>
            @Html.DisplayFor(m => m.Eq_OwnerPhone)
        </td>
    </tr>
    <tr>
        <th>
            @Html.LabelFor(m => m.Eq_Producer)
        </th>
        <td>
            @Html.DisplayFor(m => m.Eq_Producer)
        </td>
        <th>
            @Html.LabelFor(m => m.Eq_DesignCompany)
        </th>
        <td>
            @Html.DisplayFor(m => m.Eq_DesignCompany)
        </td>
    </tr>
    <tr>
        <th rowspan="2">
            @Html.LabelFor(m => m.AJZName)
        </th>
        <td rowspan="2">
            @Html.DisplayFor(m => m.AJZName)
        </td>
        <th>
            @Html.LabelFor(m => m.AJZAddress)
        </th>
        <td>
            @Html.DisplayFor(m => m.AJZAddress)
        </td>
    </tr>
    <tr>
        <th>
            @Html.LabelFor(m => m.AJZTel)
        </th>
        <td>
            @Html.DisplayFor(m => m.AJZTel)
        </td>
    </tr>
</table>
<table class="detail">
    <tr>
        <th width="120">
            @Html.LabelFor(m => m.Name)
        </th>
        <td>@Html.DisplayFor(m => m.Name)
        </td>
    </tr>
    <tr>
        <th>
            @Html.LabelFor(m => m.Eq_NO)
        </th>
        <td>@Html.DisplayFor(m => m.Eq_NO)
        </td>
    </tr>
</table>
<table class="detail">
    <tr>
        <th width="120">
            @Html.LabelFor(m => m.Eq_Type)
        </th>
        <th>
            @Html.LabelFor(m => m.Eq_CertNo)
        </th>
        <th>
            @Html.LabelFor(m => m.Eq_MadeDate)
        </th>
        <th>
            @Html.LabelFor(m => m.Eq_MadeNo)
        </th>
    </tr>
    <tr>
        <td>@Html.DisplayFor(m => m.Eq_Type)
        </td>
        <td>@Html.DisplayFor(m => m.Eq_CertNo)
        </td>
        <td>@Model.Eq_MadeDate.ToString("yyyy年MM月dd日")
        </td>
        <td>@Html.DisplayFor(m => m.Eq_MadeNo)
        </td>
    </tr>
</table>
<table class="detail">
    <tr>
        <th width="120">
            发证机关 @Html.DisplayFor(m => m.AJZName)
        </th>
    </tr>
    <tr>
        <td>
            @Html.LabelFor(m => m.RegisterDate)： @Html.DisplayFor(m => m.RegisterDate.Year)
            年 @Html.DisplayTextFor(m => m.RegisterDate.Month)
            月 @Html.DisplayTextFor(m => m.RegisterDate.Day) 日
        </td>
    </tr>
</table>
<table class="detail">
    <tr>
        <th width="120">@Html.LabelFor(m => m.Eq_RecDeskNo)
        </th>
        <td width="150">@Html.DisplayFor(m => m.Eq_RecDeskNo)
        </td>
        <th width="120">@Html.LabelFor(m => m.Eq_RecBoxNo)
        </th>
        <td>@Html.DisplayFor(m => m.Eq_RecBoxNo)
        </td>
    </tr>
    <tr>
        <th>@Html.LabelFor(m => m.Eq_Comment)
        </th>
        <td>@Html.DisplayFor(m => m.Eq_Comment)
        </td>
        <th>@Html.LabelFor(m => m.CreateDT)
        </th>
        <td>@Html.DisplayFor(m => m.CreateDTString)
        </td>
    </tr>
    <tr>
        <td colspan="4">
            @Html.ActionLink("返回列表", "List", "Equipment", new { Local = false }, new { @class = "lnkBtn" })
            @if (UserAuthnicationHelper.CurrentUserType >= UserTypes.Operator)
            {
                @Html.ActionLink("打印", "Print", "Equipment", new { Id = Model.Id }, new { @class = "lnkBtn" })
                @Html.ActionLink("归档", "Archive", "Equipment", new { Id = Model.Id }, new { @class = "lnkBtn" })
            }
        </td>
    </tr>
</table>
